package com.xyw.his00.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xyw.his00.pojo.dbpojo.MedicalRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface MedicalRecordMapper extends BaseMapper<MedicalRecord> {
    @Update("UPDATE medical_record SET proposal = #{proposal},careful=#{careful},diagnosis=#{diagnosis},cure=#{cure} WHERE register_id = #{registerId} ")
    int updateMedicalRecord(int registerId,String proposal,String careful,String diagnosis,String cure);
}
